package com.bitsbazaar.manager;

import java.util.List;

import com.bitsbazaar.entity.Category;
import com.bitsbazaar.entity.SubCategory;

public interface CategoryManager {

	public Long addCategory(Category category);
	public Category getCategoryById(Long Id);
	public List<Category> getAllCategories();
	public Boolean deleteCategoryById(Long Id);
	public Boolean updateCategory(Category category);
	public Long addSubCategory(SubCategory subCategory);
	public SubCategory getSubCategoryById(Long Id);
	public List<SubCategory> getSubCatByCatId(Long categoryId);
	public Boolean deleteSubCategoryById(Long Id);
	public Boolean updateSubCategory(SubCategory subCategory);
	
	
}
